package edu.ccut.saturn.studio.wfg.dialog.userdialog;

import java.util.ArrayList;
import java.util.List;

public class Role implements ITreeEntry<User>{
	
    public String id = "";
    public String name = "";
    public String type = "role";
    public List<User> users = new ArrayList<User>();
    
    public Role(){
    	
    }
    
    public Role(String name){
    	this.name = name;
    }

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public List<User> getUsers() {
		return users;
	}

	public void setUsers(List<User> users) {
		this.users = users;
	}

	public List<User> getChildren() {
		return this.users;
	}

	public void setChildren(List<User> children) {
		this.users = children;
	}
}
